home *** CD-ROM | disk | FTP | other *** search
/ Programmer Plus 2007 / Programmer-Plus-2007.iso / Programming / Report Writers / Crystal Repot 9.0 Full CD version / Setup.exe / Windows / System32 / HTMLRE90.DLL / HTML / 11358 < prev    next >
Encoding:
Text File  |  2002-07-05  |  2.4 KB  |  88 lines

  1. <HTML>
  2.  
  3. <HEAD>
  4.     <LINK REL="stylesheet" TYPE="text/css" HREF="%1css/default.css">
  5. </HEAD>
  6.  
  7. <script language="Javascript">
  8. //LOCALIZATION STRINGS
  9.  
  10. var _strNameAlert = "Please limit the name to 100 characters.";
  11. var _strDescAlert = "Please limit the description to 1024 characters.";
  12.  
  13.  
  14. </script>
  15.  
  16. <SCRIPT>
  17. function doSubmitForm()
  18. {
  19.   var strName = document.forms.propForm.groupName.value;
  20.   var strDesc = document.forms.propForm.groupDesc.value;
  21.   if (strName.length > 100)
  22.   {
  23.      alert(_strNameAlert);
  24.      return;
  25.   }
  26.   if (strDesc.length > 1024)
  27.   {
  28.      alert(_strDescAlert);
  29.      return;
  30.   }
  31.  
  32.   document.forms.propForm.submit();
  33. }
  34. </SCRIPT>
  35.  
  36. <BODY TOPMARGIN="0" LEFTMARGIN="0" MARGINHEIGHT="0" MARGINWIDTH="0">
  37.  
  38. <!-- Menu bar -->
  39. <table CELLPADDING="0" CELLSPACING="0" border=0 width=100%>
  40. <tr>
  41.   <td>
  42.     <table border=0 cellspacing=0>
  43.       <td class="clsTabSpacer">   </td>
  44.       <td class="clsTabSelected" align=middle nowrap><div class="clsTabSelected">Properties</div></td> 
  45.       <td class="clsTabSpacer">   </td>
  46.  
  47.       <td class="clsTabDisabled" align=middle nowrap><div class="clsTabDisabled">Servers</div></td> 
  48.       <td class="clsTabSpacer">   </td>
  49.  
  50.       <td class="clsTabDisabled" align=middle nowrap><div class="clsTabDisabled">Subgroups</div></td> 
  51.       <td class="clsTabSpacer">   </td>
  52.  
  53.       <td class="clsTabDisabled" align=middle nowrap><div class="clsTabDisabled">Member of</div></td>
  54.     </table>            
  55.   </td>
  56. </tr>
  57.  
  58. <tr class="clsTabBar">
  59.     <td> </td>    
  60. </tr>
  61. </table>
  62.  
  63. <!-- Content -->
  64. <form action="%2" name="propForm" target="_parent" method=POST>
  65.  
  66. <table CELLPADDING="0" border=0>
  67.     <tr><td class="list">  Server Group Name:  </td><td class="list"><input type="text" size=50 name="groupName" value="New Server Group"></td></tr>
  68.     <tr><td class="list" valign="top">  Description:  </td><td class="list"><textarea wrap="virtual" name="groupDesc" rows="7" cols="50"></textarea></td></tr> 
  69.  
  70.     <tr><td align=right colspan=2>
  71.     <table cellpadding=0 border=0> 
  72.         <tr>
  73.             <td class="clsButton" align=middle nowrap>
  74.                 <div class="clsButton"><a href="javascript:doSubmitForm();">OK</a></div>
  75.             </td>
  76.  
  77.             <td class="clsButton" align=middle nowrap>
  78.                 <div class="clsButton"><a href="%3" target="_parent">Cancel</a></div>  
  79.             </td>
  80.         </tr>
  81.     </table>
  82.     </td></tr>
  83. </table>
  84.  
  85. </form>
  86. </BODY>
  87. </HTML>
  88.